package cn.csust.net2.manager.shared.service;

import java.util.List;
import java.util.Map;

import cn.csust.net2.manager.shared.po.ResearchResult;

import com.extjs.gxt.ui.client.data.PagingLoadConfig;
import com.google.gwt.user.client.rpc.AsyncCallback;

public interface ResearchManagerServiceAsync extends ResearchCommonServiceAsync {
	
//	void findResearchsByPaging(PagingLoadConfig config,AsyncCallback<PagingLoadResult<Research> > callback);
//	void findResearchResultsByPaging(PagingLoadConfig config,AsyncCallback<PagingLoadResult<ResearchResult> > callback);
//	void findResearchTitlesByPaging(PagingLoadConfig config,AsyncCallback<PagingLoadResult<ResearchTitle> > callback);
//	void findResearchAnswersByPaging(PagingLoadConfig config,AsyncCallback<PagingLoadResult<ResearchAnswer> > callback);
//	void saveStudent_ResearchByPaging(PagingLoadConfig config,AsyncCallback<Void > callback);
//	void findStudent_ResearchByPaging(PagingLoadConfig config,AsyncCallback<PagingLoadResult<Long>> callback);
	void saveResearchStudentsByPaging(PagingLoadConfig config,AsyncCallback<Void> callback);
	void getResearchStudentNumberList(Long researchID,AsyncCallback<List<Long>> callback);
	void statisticsResearchResult(PagingLoadConfig config,AsyncCallback<Map<Long , List<ResearchResult>> > callback);
	void statisticsResearchResultPolls(PagingLoadConfig config,AsyncCallback<Map<Long, Long>> callback);
	void saveResearchByPaging(PagingLoadConfig config,AsyncCallback<Void> callback);
}
